package com.mogician.rabbitmq_demo.bean;

public class MyMessage
{
    private String id;
    private String content;
    private boolean isSelf = false;

    public MyMessage() { }

    public MyMessage(String id, String content)
    {
        this.id = id;
        this.content = content;
        isSelf = false;
    }

    public MyMessage(String id, String content, boolean isSelf)
    {
        this.id = id;
        this.content = content;
        this.isSelf = isSelf;
    }

    public String getId()
    {
        return id;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getContent()
    {
        return content;
    }

    public void setContent(String content)
    {
        this.content = content;
    }

    public boolean isSelf()
    {
        return isSelf;
    }

    public void setSelf(boolean self)
    {
        isSelf = self;
    }
}
